/*
 * @Date: 2023-03-14 14:30:40
 * @LastEditTime: 2023-05-05 22:04:25
 * @FilePath: /nlk/src/router/module/page.ts
 * 介绍:
 */
import { RouterOption } from "../interface";
import { t } from "@@/hooks/useI18n";

const routes: Array<RouterOption> = [
  {
    name: "coinExchange",
    path: "/coinExchange",
    component: () => import("@@/views/coinExchange/coinExchange.vue"),
    meta: {
      title: t("shan-dui"),
    },
  },
  {
    name: "buySuccess",
    path: "/buySuccess",
    component: () => import("@@/views/buySuccess/buySuccess.vue"),
    meta: {
      title: t("gou-mai-cheng-gong"),
    },
  },
  {
    name: "KLine",
    path: "/KLine",
    component: () => import("@@/views/KLine/KLine.vue"),
    meta: {
      //NLK数据监控
      navbar: {
        show: false,
      },
    },
  },
  {
    name: "withdrawCoin",
    path: "/withdrawCoin",
    component: () => import("@@/views/withdrawCoin/withdrawCoin.vue"),
    meta: {
      title: t("ti-bi"),
    },
  },
  {
    name: "topUpCoin",
    path: "/topUpCoin",
    component: () => import("@@/views/topUpCoin/topUpCoin.vue"),
    meta: {
      title: t("chong-bi"),
    },
  },
  {
    name: "topUpCoinHelp",
    path: "/topUpCoinHelp",
    component: () => import("@@/views/topUpCoinHelp/topUpCoinHelp.vue"),
    meta: {
      title: t("chong-bi-bang-zhu"),
    },
  },
  {
    name: "nodeLogs",
    path: "/nodeLogs",
    component: () => import("@@/views/nodeLogs/nodeLogs.vue"),
    meta: {
      title: t("jie-dian-ye-ji"),
    },
  },
  {
    name: "communityLogs",
    path: "/communityLogs",
    component: () => import("@@/views/communityLogs/communityLogs.vue"),
    meta: {
      title: t("she-qu-ye-ji"),
    },
  },
  {
    name: "fundDetail",
    path: "/fundDetail",
    component: () => import("@@/views/fundDetail/fundDetail.vue"),
    meta: {
      title: t("ding-dan-xiang-qing"),
    },
  },
];
export default routes;
